<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
        a:hover {
            color: #f00;
        }

        div {
            width: 100px;
            height: 100px;
            background: red;
        }

        div:hover {
            background: green;
        }
    </style>
</head>
<body>
<!--
    IE6不支持除了a标签以外标签的伪类
-->
<a href="#">kaivon</a>
<div></div>
</body>
</html>
